package com.suma.platform.core.exception;

/**
 * @author suma
 * @date 2018/2/12 上午11:09
 */
public class RedisException extends SumaException {
	public RedisException() {
		super();
	}

	public RedisException(String message) {
		super(message);
	}

	public RedisException(String message, Throwable cause) {
		super(message, cause);
	}

	public RedisException(Throwable cause) {
		super(cause);
	}

	protected RedisException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public RedisException(String errorCode, String message) {
		super(errorCode, message);
	}

	@Override
	public String getErrorCode() {
		return super.getErrorCode();
	}

	@Override
	public void setErrorCode(String errorCode) {
		super.setErrorCode(errorCode);
	}
}
